﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Office.Tools;
using MVVM.Core;

namespace LinkedRangesAddIn
{
    public class CustomTaskPaneWrapper : ViewControlBase
    {
        private CustomTaskPane _ctp;

        public CustomTaskPaneWrapper(string title) : this(Globals.ThisAddIn.CustomTaskPanes, title) { }

        public CustomTaskPaneWrapper(CustomTaskPaneCollection taskPanes, string title)
        {
            _ctp = taskPanes.Add(new WPFHostControl(), title);
        }

        private void InitializeComponent()
        {
            //this.SuspendLayout();
            //// 
            //// CustomTaskPaneWrapper
            //// 
            //this.Name = "CustomTaskPaneWrapper";
            //this.ResumeLayout(false);

        }
    }
}
